﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows.Data;
using System.Windows.Input;
using ReporterSystem;

namespace ReporterControlLibrary.Models
{
    public partial class ProjectInfo : IProject
    {
        partial void OnImportedDateChanged()
        {
            foreach (var reportInfo in this.Project.ReportInfos)
            {
                reportInfo.IsActual =reportInfo.LastReportDate.HasValue && ImportedDate < reportInfo.LastReportDate;
            } 
        }

        
    }
}
